<%@ page contentType="text/html; charset=UTF-8"%>
<%@taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ page import="com.bosch.in.rtp1.ept.constant.FXFactorConstant;"%>
<link href="css/modifiedJUI.css" type="text/css" rel="stylesheet"></link>
<script type="text/javascript" src="js/skippedRecipe.js"></script>
<form name="conditionForm" action="saveSkippedCondition.do?cmd=saveSkippedCondition" method="POST">
<div id="filterHeader" class="ui-jqgrid ui-widget ui-corner-all">
	<div class = "ui-jqgrid-view">
		<div class="ui-jqgrid-titlebar ui-widget-header ui-corner-top ui-helper-clearfix">
				<span class="ui-jqgrid-title">Skipped Recipe Configuration</span>
		</div>
	</div>
</div>
<div id="dialog-message" title="Error" class="ui-dialog-text" style="text-align: center;">
	<br/> 
    <p>
        Wrong input value!
    </p>
</div>
<table width="100%" border="0" class="box">
	<tbody>
		<tr>
			<td><br/></td>
		</tr>
		<tr>
				<td width="150px" nowrap="nowrap"> 
					<span style="display:inline-block;font-size: 11px;">Base Lead Time</span>
				</td>
				<td width="5px" nowrap="nowrap"> 
					<span style="display:inline-block;font-size: 11px;">:</span>
				</td>
				
				<td width="220px">
					<html:select  name="skippedCondition" property="selectedBaseLeadTimeOperator" styleClass="DropDownTextBox" style="width:120px">
						<html:optionsCollection name="skippedCondition" property="baseLeadTimeOperators" value="value" label="display"/>
					</html:select>
				</td>
				<td width="130px">
					<html:text name="skippedCondition" property="baseLeadTime" style="width:120px"></html:text>
				</td>
				<td >
				</td>
		</tr>
		<tr>	
				<td width="150px" nowrap="nowrap"> 
					<span style="display:inline-block;font-size: 11px;">Run Time</span>
				</td>
				<td width="5px" nowrap="nowrap"> 
					<span style="display:inline-block;font-size: 11px;">:</span>
				</td>
				<td width="220px"> 
					<html:select  name="skippedCondition" property="selectedRunTimeOperators" styleClass="DropDownTextBox" style="width:120px">
						<html:optionsCollection name="skippedCondition" property="runTimeOperators" value="value" label="display"/>
					</html:select>
				</td>	
				<td width="130px">
					<html:text name="skippedCondition" property="runTime" style="width:120px"></html:text>
				</td>
				<td> 
				</td>
		</tr>
		<tr>
				<td width="150px" nowrap="nowrap"> 
					<span style="display:inline-block;font-size: 11px;">Wait Time</span>
				</td>
				<td width="5px" nowrap="nowrap"> 
					<span style="display:inline-block;font-size: 11px;">:</span>
				</td>
				<td width="220px">
					<html:select  name="skippedCondition" property="selectedWaitTimeOperators" styleClass="DropDownTextBox" style="width:120px">
						<html:optionsCollection name="skippedCondition" property="waitTimeOperators" value="value" label="display"/>
					</html:select>
				</td>
				<td width="130px">
					<html:text name="skippedCondition" property="waitTime" style="width:120px"></html:text>
				</td>	
				<td> 
				</td>
			</tr>
			
			<tr>
				<td width="150px" nowrap="nowrap">
					<span style="display:inline-block;font-size: 11px;">Apply for all </span>
				</td>
				<td width="5px" nowrap="nowrap"> 
					<span style="display:inline-block;font-size: 11px;">:</span>
				</td>
				<td width="220px">
					<html:checkbox name="skippedCondition" property="applyForAll" ></html:checkbox>
				</td>
				<td width="130px">
				</td>
				<td>
				</td>
			</tr>
			<tr>
				<td width="150px" nowrap="nowrap">
					<span style="display:inline-block;font-size: 11px;">Modified at </span>
				</td>
				<td width="5px" nowrap="nowrap"> 
					<span style="display:inline-block;font-size: 11px;">:</span>
				</td>
				<td width="220px">
					<html:text name="skippedCondition" property="lastModified" disabled="true" style="width:180px"></html:text>
				</td>
				<td width="130px">
				</td>
				<td nowrap="nowrap">
					<a class="bosch_button_style" href="javascript:saveConfig();">Save</a>
					<a class="bosch_button_style" href="javascript:reLoad();" style='margin-left: 5;'>Refresh</a>
				</td>
			</tr>
	</tbody>
</table>
</form>
<br/>
<div class="content">
<table id="fxList"></table>
<div id="fxPager"></div>
<div id="filter" style="margin-left: 30%; display: none">Search</div>
</div>
